

#import <UIKit/UIKit.h>
#import <YYText/YYText.h>

NS_ASSUME_NONNULL_BEGIN


@protocol APProtocolControlProtocol <NSObject>

- (void)checkButtonDidClick:(BOOL)isChecked;
- (void)termofUseDidClick;
- (void)privacyPolicyDidClick;

@end

@interface APProtocolControl : UIControl
@property (nonatomic, strong) YYLabel *reliefLabel;
@property (nonatomic, strong) UIImageView *checkIV;
@property (nonatomic, weak) id<APProtocolControlProtocol> delegate;
@property (nonatomic, assign) bool isCheckIconVisible;
- (instancetype)initWithColor:(UIColor *)normalColor highlightColor:(UIColor *)highlightColor;
- (void)setCheckSelectedStatus:(BOOL)isSelected;
- (BOOL)checkSelectStatus;
@end

NS_ASSUME_NONNULL_END
